// product page
// ============

define(['require', 'zepto', 'utils', 'JST', 'sui'], function(require, $, utils, JST) {
  return {
    init: function() {
      this.initPage(jsConfig)
    },
    
    initPage: function(jsConfig) {
      var that = this;
      $(document).on("click", ".fs-menu", function() {
        $.openPanel("#panel-right-menu");
      });
      
      utils.configWeixin(jsConfig, true, that.initShareData);
    },
    
    initShareData: function() {
      var link = window.location.protocol + '//' + window.location.host + "/products/";
      return {
        name:   "人马君商城",
        desc:   "人马君减脂瘦身",
        link:   link
      }
    }
  }
})